function selfAjax(url, method, data,suc){
  $.ajax({
    url,
    method,
    data,
    contentType:'application/json;charset=utf-8',
    dataType: "json",
    async:false,
  })
      .done(suc)
      .fail(()=>{
        message.showError("服务器异常")
      })
}
